From cf29f1128514fd3e64c5fd224dbd0de27725dd7f Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 1 Nov 2009 21:54:25 +0000 Subject: [PATCH] Fix for r58410: isset already checks for null, no need to do a double check :) --- includes/api/ApiQueryRevisions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiQueryRevisions.php b/includes/api/ApiQueryRevisions.php index e4e4d12b9a..d862389a78 100644 --- a/includes/api/ApiQueryRevisions.php +++ b/includes/api/ApiQueryRevisions.php @@ -149,7 +149,7 @@ class ApiQueryRevisions extends ApiQueryBase { $this->addFields('ts_tags'); } - if( isset( $params['tag'] ) && !is_null( $params['tag'] ) ) { + if( isset($params['tag']) ) { $this->addTables('change_tag'); $this->addJoinConds(array('change_tag' => array('INNER JOIN', array('rev_id=ct_rev_id')))); $this->addWhereFld('ct_tag' , $params['tag']); -- 2.20.1